/**
 * Copyright (c) 2006-2007 Jinyi.lu
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of GNU LGPL license by gun.org
 * which accompanies this distribution, and is available at
 * http://gnu.feld-it.at/copyleft/lesser.html
 * 
 * Project Homepage : http://code.google.com/p/demou
 * Source Code: svn checkout http://demou.googlecode.com/svn/trunk/ demou
 * Mailing list : jinyi.lu@gmail.com
 *                stonelu@126.com
 *
 *  
 * Contributors:
 *     JinYi.Lu - initial API and implementation
 */
package cn.tworen.demou.so;

/**
 * Created on  2007-2-13
 *
 * Title       : SoValueItem.java
 * Description : 
 * 
 * @author     : LuJinYi
 * @version    : 1.0
 * @Date       : 2007-2-13
 * History     : 
 * 
 */
public class SoValueItem {
	private SoType type = null;
	private String key = null;
	private Object value = null;
	public SoValueItem(){
	}
	public SoValueItem(SoType type, String key, Object value) {
		this.key = key;
		this.type = type;
		this.value = value;
	}
	/**
	 * @hibernate.property
	 * @return Returns the type.
	 */
	public SoType getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(SoType type) {
		this.type = type;
	}
	/**
	 * @hibernate.property
	 * @return Returns the key.
	 */
	public String getKey() {
		return key;
	}
	/**
	 * @param key the key to set
	 */
	public void setKey(String key) {
		this.key = key;
	}
	/**
	 * @hibernate.property
	 * @return Returns the value.
	 */
	public Object getValue() {
		return value;
	}
	/**
	 * @param value the value to set
	 */
	public void setValue(Object value) {
		this.value = value;
	}
}
